-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.9.5
-
Code
-
Classes
- CartCalculator
Total Complexity |
72 |
Dependencies |
13 |
Dependents |
2 |
Total lines |
438 |
Lines of code |
259 |
Logical lines of code |
166 |
Comment lines |
87 |
Methods |
14 |
Properties |
8 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
processCart() |
C |
34 |
26 |
90 |
applyPersistentRules() |
A |
43 |
12 |
48 |
getWcSalePrice() |
A |
50 |
12 |
31 |
findPossibleMaxDiscountsForProducts() |
S |
59 |
6 |
15 |
recreateItem() |
S |
50 |
2 |
34 |
__construct() |
S |
67 |
3 |
7 |
make() |
S |
74 |
2 |
4 |
makeWithoutConditions() |
S |
65 |
2 |
9 |
announceRuleCalculated() |
S |
75 |
2 |
5 |
withContext() |
S |
77 |
1 |
4 |
withPersistentRuleRepository() |
S |
81 |
1 |
3 |
getRulesCollection() |
S |
82 |
1 |
3 |
processItem() |
S |
80 |
1 |
3 |
isCalculationAllowed() |
S |
80 |
1 |
3 |